package com.linsir.lin.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.linsir.base.BasePOJO;
import lombok.Data;

@Data
@TableName("lin_role")
public class Role  extends BasePOJO {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private String name;                    //角色名 唯一

    private String groupName;

    private String description;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGroup() {
        return groupName;
    }

    public void setGroup(String group) {
        this.groupName = group;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
